﻿using Common.CustAttributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZXIMEW.Models.DModels
{
    [Table("MenuInfos")]
    [PrimaryKey("MenuId", autoIncrement = true)]
    public class MenuInfo
    {
        /// <summary>
        /// 菜单编号 
        /// </summary>
        public int MenuId { get; set; }
        /// <summary>
        /// 菜单名称
        /// </summary>
        public string MenuName { get; set; }
        /// <summary>
        /// 父菜单编号 
        /// </summary>
        public int ParentId { get; set; }
        /// <summary>
        /// 页面名称
        /// </summary>
        public string FrmName { get; set; }
        /// <summary>
        /// 菜单图标 
        /// </summary>
        public string MenuImg { get; set; }
        /// <summary>
        /// 是否是顶级窗体 
        /// </summary>
        public bool IsTop { get; set; }
        /// <summary>
        /// 排序号
        /// </summary>
        public int MOrder { get; set; }
        /// <summary>
        /// 创建时间 
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 菜单代号
        /// </summary>
        public string MenuCode { get; set; }
        /// <summary>
        /// 是否已删除
        /// </summary>
        public int IsDeleted { get; set; }
    }
}
